package com.itheima.springboottest.service;

import com.itheima.springboottest.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface UserServive {
    public User findById(Integer id);

    void registerUser(String username,String password);


    //根据用户名查询用户
    User findByUserName(String username);

    String  login(String username, String password);
}
